package cn.itcast.dagger2demo;

import javax.inject.Singleton;

import dagger.Component;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;

/**
 * Created by Administrator on 2016/8/3.
 */
@Singleton
@Component(modules = ApiModule.class)
public interface AppComponent {

    OkHttpClient getOkHttpClient();

    Retrofit getRetrofit();

    User getUser();

}
